home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Freeware
/
Adobe Air 1.5
/
AdobeAIRInstaller.exe
/
setup.swf
/
scripts
/
_CursorManagerStyle.as
< prev
next >
Wrap
Text File
|
2008-10-29
|
1KB
|
39 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.skins.halo.BusyCursor;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _CursorManagerStyle
{
private static var _embed_css_Assets_swf_mx_skins_cursor_BusyCursor_866905343:Class = _CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_866905343;
public function _CursorManagerStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("CursorManager");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("CursorManager",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.busyCursor = BusyCursor;
this.busyCursorBackground = _embed_css_Assets_swf_mx_skins_cursor_BusyCursor_866905343;
};
}
}
}
}